package com.codebattery.repository;

import java.io.Serializable;
import java.util.List;

import com.codebattery.domain.entity.Authority;
import lombok.Data;

/**
 * credentials
 * @author 
 */
@Data
public class Credentials implements Serializable {
    /**
     * 凭证id
     */
    private Long id;

    /**
     * 是否可用
     */
    private Boolean enabled;

    /**
     * 用户名
     */
    private String name;

    /**
     * 密码
     */
    private String password;

    /**
     * 版本号
     */
    private Integer version;

    private static final long serialVersionUID = 1L;

    /**
     * 权限
     */
    private List<Authority> authorities;
}